home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Belgian Amiga Club - ADF Collection
/
BS1 part 19.zip
/
BS1 part 19
/
AmigaLibDisk 154.adf
/
DiskLib
/
lib.doc
< prev
next >
Wrap
Text File
|
1987-06-15
|
8KB
|
230 lines
Lib, ToLib
Disk Library Documentation System
By Wilson Snyder (c) January 1988
This package contains two programs, Lib which is used to
print information on the disk, and ToLib which does simple
translation on Fred Fish's README.list## files. (Or, on
later disk Contents files.)
This program is PUBLIC DOMAIN, but if you wish to support
a college student working on software, your donations are
greatly appreciated.
NOTICE:
This program was written as a service to the amiga
users. This program may be used by all parties, including
sale (see below) as long as the author's name and address
remains intact in the program and documentation.
Distribution of this program by parties selling it
as part of a commercial for-profit package of over $10
must contact the address below before such a package is sold.
I make no warranties over this program, performance,
etc. And any costs incurred by this program, or its
actions are placed on the user.
PLEASE FORWARD INPROVEMENTS MADE TO THIS PROGRAM TO:
Wilson Snyder, 15 Davis Parkway, South Burlington, VT 05403
LIB
Usage:
LIB [directoryname] [-s[ize]] [-h[eader]]
TOLIB (input_contents_file) (outputfile) ["the disk name"]
[] optional, () required.
Description:
Lib searches the disk tree starting at the directory name
provided, or the root of the current disk if no directory
is provided. The program prints out each directory in
sorted order, with the size if the -s option is used, and
with page headers if the -h option is used.
If a file named $$DES$$ is found in any one of the directories
the contents of the file are printed out using simple
word justification and page numbering (-h option).
ToLib converts a contents or readme.list file to a single
file containing several $$DES$$ files-in-one for each
entry in the contents file. The computer assumes that the
program name starts in the first column, and that the
description of the file is indented by a tab or space from the
first column. When the program encounters a new program name
it prints the optional diskname. After the program is finished
I load the file into my editor, and chop the file into $$DES$$
files under each subdirectory, and a $$DES$$ file for the root.
Why:
Fred Fish provides a excellent service to the Amiga
community, but he must distribute information as he gets it,
and has to pack many different types of programs on each
disk. When I receive his disks I prefer to seperate the
programs by topic, onto one disk per topic. Fred provides
a contents file on his disks, but since I want the description
information on my topic disks, I would have to use a editor
to delete the description from the distribution disk and place
it onto a contents file on each topic disk.
This program offers another solution. When I recieve a new
Fred Fish (or other PD?!) disk, I run the TOLIB program which
changes the contents file into a form ready to be split into
sub files. I then put the description for each file into that
file's directory so that copying the directory [ALL] will also
copy the description for that program.
Now, when I want a list of the contents of my disks I can
just run the LIB program on each disk, and it will produce a
file simular to the Contents file, but much more accurate as
it will display files even without descriptions, and will not
display descriptions for files that do not exist on the disk.
(Thus deleting/moving the directory of the program automatically
deletes/moves the description.)
The Future:
To make life easy for those who split up the programs on
the Fred Fish disks, I Propose that Fred distribute his disks
with the $$DES$$ files. Thus, people who donate to the library
can just give Fred a $$DES$$ file, which he may edit. Once
he has copied all of the programs he wishes onto a distribution
disk, he need only run the LIB program to produce a master
contents file for the benefit of users without the LIB program,
and also for quick viewing of the contents. Information on the
disk itself, for example the words "Disk ### of the freely..."
can simply be placed on the root $$DES$$ file.
Example:
This is a dump of one of my games disks:
(Envoked with "LIB >output df1: -h -s")
Information in ALL CAPS added for information.
Page 1 Games 2
^- PAGE NUMBER DISK NAME --^
Games 2
^- ROOT NAME
Disk 1 of Public Domain Games.
^- $$DES$$ file of root
Canfield
Total size 27912 bytes.
^- $$DES$$ not found, just printed the size.
Conquest
V--- $$DES$$ file, words "Fred Fish 24" added by TOLIB.
Fred Fish 24
You control an interstellar empire, decide which star
systems to explore, which planets to colonize, etc.
The computer will also be building its own empire and
competing with you for resources. The one with the
greatest population at the end wins. First distributed
in executable form only on disk number AM010. This
distribution includes source.
Author: ported to Amiga by Rob Shimbo
Total size 331234 bytes.
Cosmo
Fred Fish 40
An "asteriods" clone. Suggested $6 donation.
Author: John Harris
Total size 20604 bytes.
DietAid
Fred Fish 36
Diet planning aid to allow the user to compile lists of
ingredients (recipes) and automatically compute calorie
totals, etc. This is a shareware program ($10
suggested) that was submitted by the author for
inclusion in the library.
Author: Terry Gintz
Total size 102856 bytes.
Klondike
Total size 25077 bytes.
Puzzle
Fred Fish 32
Simulation of puzzle with moving square tiles.
Executable only.
Author: Bill Beogelein
Total size 9121 bytes.
Reversi
Fred Fish 38
Program to play reversi game. Version 6.1.
Author: Manuel Almudevar
Total size 47180 bytes.
Page 2 Games 2
^----- PAGE BREAK
Rocket
Fred Fish 82
Another interesting Workbench display hack. This one
is really a game in disguise. Binary only.
Author: Peter da Silva
Total size 8027 bytes.
Sword
Fred Fish 32
Sword of Fallen Angel. Text adventure game written in
AmigaBasic.
Author: Andry Rachmat
Total size 141277 bytes.
TunnelVision
Fred Fish 36
Another fine ABasiC game from David Addison. This is
a maze game with a 3-D perspective view from inside the
maze.
Author: David Addison
V--- DIRECTORIES UNDER TUNNELVISION
devs
Total size 232 bytes.
s
Total size 134 bytes.
V--- TUNNELVISION SIZE
Total size 53246 bytes.
V--- TOTAL ROOT SIZE
Total size 766534 bytes.
Limitations / Suggestions:
1. Each program must be in its own subdirectory, this is
standard for the Fred Fish series, and the way I wish
to keep my disks.
2. The text output formatter is simple, no frills.
3. The TOLIB program just does simple processing, spliting
up the output must be done by hand. This could be
automated at some point.
4. Command line options do not exist for page length,
margins, etc.
5. A option could be added to LIB to show all of the files
on the disk.
6. A header could be added providing information on the
disk, percent full, time, date, etc.
7. No control-C trap exists.